<?php

return [
    "id"=> [
      "type"=> "keyword"
    ],
    "title" => [
        "type" => "text"
    ],
    "author" => [
        "type" => "keyword"
    ],
    "type" => [
        "type" => "keyword"
    ],
    "category" => [
        "type" => "keyword"
    ],
    "description" => [
        "type" => "text"
    ],
    "status" => [
        "type" => "keyword"
    ],
    "count" => [
        "type" => "integer"
    ],
    "url"=> [
      "type"=> "keyword"
    ],
    "update_time" => [
        "type" => "date",
        "format" => "yyyy-MM-dd HH:mm:ss"
    ],
    "latest_chapter_name" => [
        "type" => "keyword"
    ],
    "latest_chapter_url" => [
        "type" => "keyword"
    ],
    "intro" => [
        "type" => "text"
    ],
    "characters" => [
        "properties" => [
            "title" => [
                "type" => "keyword"
            ],
            "url" => [
                "type" => "keyword"
            ]
        ]
    ],
    "update_at"=> [
        "type"=> "date",
        "format"=> "yyyy-MM-dd HH:mm:ss"
    ]
];
